package by.bsu.touragency.listener;

import javax.servlet.*;

import org.apache.log4j.PropertyConfigurator;

public class Log4jInit implements ServletContextListener {

	public void contextInitialized(ServletContextEvent event) {
		PropertyConfigurator.configure(getClass().getResource("/log4j.properties"));
	}

	public void contextDestroyed(ServletContextEvent event) {
	}

}
